﻿@model RotaractProjectCalendar.Models.Mail
@{
    ViewBag.Title = "Kontakt";
}
<h2>Wyślij zapytanie</h2>

@using(Html.BeginForm())
{
    @Html.ValidationSummary()
    @Html.AntiForgeryToken()

    <dt>
        Od:
    </dt>
    <dd>
        @Html.TextBoxFor(m => m.From)
    </dd>

    @Html.HiddenFor(model => model.To)

    <dt>
        Temat:
    </dt>
    <dd>
        @Html.TextBoxFor(m => m.Subject)
    </dd>

    <dt>
        Treść:
    </dt>
    <dd>
        @Html.TextAreaFor(m => m.Body)
    </dd>

    <br />
    <br />
    <input type="submit" name="Send" value="Wyślij" />
}